package 责任链模式;

/**
 * 创建扩展了该记录器类的实体类。
 * @author WZW
 * @email wangzhanwei@lumlord.com
 * @date 2020/3/18  15:03
 */
public class ErrorLogger  extends AbstractLogger {

    public ErrorLogger(int level){
        this.level = level;
    }

    @Override
    protected void write(String message) {
        System.out.println("Error Console::Logger: " + message);
    }
}
